//
//  MessageAlertView.h
//  JPWords
//
//  Created by 梁淑婷 on 2024/12/5.
//

#import "JPCustomView.h"
#import "NewsListModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface MessageAlertView : JPCustomView

@property(nonatomic,strong)NewsListModel *model;
@property(nonatomic,copy)void(^clickBlock)(void);
@property(nonatomic,assign)CGFloat currentAvailableWidth;
@property(nonatomic,assign)CGFloat currentAvailableHeight;

-(instancetype)initWithFrame:(CGRect)frame andModel:(NewsListModel*)model;
-(void)refreshWidth;

@end

NS_ASSUME_NONNULL_END
